package fun.lifepoem.blog.common;

import org.apache.ibatis.javassist.runtime.Desc;

/**
 * @author Yiwyn
 * @create 2022/10/5 16:11
 * @desc 基本的枚举类，用来存放用户基本的映射关系
 */
public enum BaseEnum {

    ARTICLE_FROM_GIT(1, "git"),
    ARTICLE_FROM_USER(2, "user");


    private final int code;

    private final String desc;

    BaseEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
